cd `dirname $0`

mkdir -p /root/generator/app_50000005/V22.3.6_3286637151828785/dist/
mkdir -p /root/generator/app_50000005/V22.3.6_3286637151828785/source/
cp -r ./dist/* /root/generator/app_50000005/V22.3.6_3286637151828785/dist/

cd ./dist
/data/bin/zip -r app_50000005-dist.zip .
cp app_50000005-dist.zip  /usr/share/nginx/html/app_50000005-dist.zip
cd ../
rm -rf ./dist

rm -rf ./node_modules
cp -r ./*      /root/generator/app_50000005/V22.3.6_3286637151828785/source/
# 拷贝资源文件到目标目录
/data/bin/zip -r app_50000005.zip .
cp app_50000005.zip /usr/share/nginx/html/app_50000005.zip
cp app_50000005.zip /usr/share/nginx/html/app_50000005_V22.3.6.zip
